'use strict';

import fetch from '../util/fetch.js';

export function giftList(query) {
    return fetch('/ninesix/pay/pub/query/receivedGiftsByMedia', query, 'GET', 'jsonp');
};

export function redEnvelope(query) {
    return fetch('/ninesix/pay/pub/redEnvelope/grab', query, 'GET', 'jsonp');
};
